package com.ash.util;

import org.junit.Test;

import java.util.UUID;

/**
 * @author : Chen Chao
 * @encoding : UTF-8
 * @date : 2021/3/8 20:26
 * @file : Project02.com.ash.util.IdUtil.java
 * @software : IntelliJ IDEA
 * @since : 1.8
 */
public class IdUtil {
    public static String  getId(){
        return UUID.randomUUID().toString().replaceAll("-","");
    }
    @Test
    public  void test01 (){
        System.out.println(getId());
    }
}
